// 部署新的MongoDB后预先创建空的集合用于事务相关
use windplatform

// playerserver collection
db.createCollection("playerdata")
db.createCollection("onlineplayer")

// payserver collection
db.createCollection("agentmoney")
db.createCollection("playermoney")
db.createCollection("orderinfo")
db.createCollection("moneyrecords")
db.createCollection("agentmoney")